package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.MaterialConfigGroup;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MaterialConfigGroupMapper {
    int deleteById(@Param("para") Long id);

    int insert(MaterialConfigGroup record);

    int insertSelective(MaterialConfigGroup record);

    MaterialConfigGroup selectByDeviceIdAndGroupWxid(@Param("deviceId") String deviceId, @Param("groupWxid") String groupWxid, @Param("merId") Long merId);

    MaterialConfigGroup selectById();

    int updateByIdSelective(MaterialConfigGroup record);

    int updateById(MaterialConfigGroup record);
}